.mask {
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
}
.dialog {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #F6F7F8;
  border-radius: 30rpx 30rpx 0rpx 0rpx;
  .no-login {
    align-self: flex-end;
    padding: 36rpx 37rpx 0 0;
    font-family: PingFangSC, PingFang SC;
    font-weight: 400;
    font-size: 26rpx;
    color: rgba(0,0,0,0.5);
    line-height: 37rpx;
  }
  .logo {
    width: 180rpx;
    height: 180rpx;
  }
  .name {
    margin-top: 20rpx;
    font-family: PingFangSC, PingFang SC;
    font-weight: 500;
    font-size: 32rpx;
    color: #31315A;
    line-height: 45rpx;
  }
  .login-btn {
    margin-top: 222rpx;
    .login {
      width: 630rpx;
      height: 90rpx;
      background: #827CF9;
      border: 1rpx solid rgba(255,255,255,0.8);
      color: #FFFFFF;
    }
    .hover-login {
      background: #827cf9c0;
    }
  }
  .agreement {
    align-self: center;
    display: flex;
    align-items: flex-start;
    margin-top: 44rpx;
    margin-bottom: 62rpx;
    .circle {
      flex-shrink: 0;
      width: 30rpx;
      height: 30rpx;
    }
    .agree {
      margin-left: 10rpx;
      font-family: PingFangSC, PingFang SC;
      font-weight: 400;
      font-size: 22rpx;
      color: #000000;
      line-height: 30rpx;
    }
    span {
      color: #2953F4;
    }
  }
  @keyframes shake {
    0%, 100% {
      transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
      transform: translateX(-5px);
    }
    20%, 40%, 60%, 80% {
      transform: translateX(5px);
    }
  }
  .shake {
    animation: shake 0.5s;
  }
}
.code-dialog {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1;
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 794rpx;
  background: #EAECF6;
  border-radius: 30rpx 30rpx 0rpx 0rpx;
  .dir-login {
    align-self: start;
    font-size: 26rpx;
    color: #000000;
    opacity: 0.5;
    margin-left: 70rpx;
    margin-bottom: 20rpx;
  }
  .main {
    display: flex;
    flex-direction: column;
    width: 654rpx;
    height: 625rpx;
    background: #FFFFFF;
    padding-bottom: 46rpx;
    border-radius: 36rpx;
    .title {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 35rpx 30rpx 0 42rpx;
      .left {
        display: flex;
        .logo {
          width: 100rpx;
          height: 100rpx;
          border-radius: 36rpx;
        }
        .info {
          display: flex;
          flex-direction: column;
          justify-content: space-around;
          height: 100rpx;
          margin-left: 23rpx;
          .name {
            font-family: PingFangSC, PingFang SC;
            font-weight: 500;
            font-size: 32rpx;
            color: #000000;
            line-height: 45rpx;
          }
          .type {
            font-family: PingFangSC, PingFang SC;
            font-weight: 400;
            font-size: 24rpx;
            color: rgba(0,0,0,0.5);
            line-height: 33rpx;
          }
        }
      }
      .right {
        font-family: PingFangSC, PingFang SC;
        font-weight: 400;
        font-size: 26rpx;
        color: rgba(0,0,0,0.5);
        line-height: 37rpx;
      }
    }
    .login {
      margin-top: 37rpx;
      padding: 0 30rpx;
      .phone,
      .code {
        display: flex;
        align-items: center;
        padding:33rpx 13rpx 27rpx 13rpx;
        border-bottom: 1rpx solid #EBEBEB;
        font-family: PingFangSC, PingFang SC;
        font-weight: 500;
        font-size: 26rpx;
        color: #000000;
        line-height: 37rpx;
        .label {
          flex-shrink: 0;
          margin-right: 42rpx;
        }
        .code-btn {
          display: flex;
          justify-content: center;
          align-items: center;
          width: 200rpx;
          height: 60rpx;
          margin-left: 5rpx;
          background: #9797FF;
          border-radius: 12rpx;
          font-family: PingFangSC, PingFang SC;
          font-weight: 400;
          font-size: 24rpx;
          color: #FFFFFF;
          line-height: 33rpx;
        }
        // .code-btn:active {
        //   background: rgba(151, 151, 255, 0.8);
        // }
      }
    }
    .agreement {
      align-self: center;
      display: flex;
      align-items: flex-start;
      margin-top: 44rpx;
      margin-bottom: 62rpx;
      .circle {
        width: 30rpx;
        height: 30rpx;
      }
      .agree {
        margin-left: 10rpx;
        font-family: PingFangSC, PingFang SC;
        font-weight: 400;
        font-size: 22rpx;
        color: #000000;
        line-height: 30rpx;
      }
      span {
        color: #2953F4;
      }
    }
    @keyframes shake {
      0%, 100% {
        transform: translateX(0);
      }
      10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
      }
      20%, 40%, 60%, 80% {
        transform: translateX(5px);
      }
    }
    .shake {
      animation: shake 0.5s;
    }
    custom-btn {
      padding: 0 47rpx;
    }
  }
}
.slide-out {
  animation: slideOut 0.5s forwards;
}
.slide-in {
  animation: slideLeft 0.5s forwards;
}
@keyframes slideLeft {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}
@keyframes slideOut {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
.slide-dialog {
  animation: slideIn 0.5s forwards;
}
.slide-code-dialog {
  animation: slideRight 0.5s forwards;
}
@keyframes slideRight {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(100%);
  }
}
@keyframes slideIn {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

